package com.example.administrator.hqq.bean;

import java.util.List;

/**
 * @name: HQQ
 * @describe:
 * @author: 康海涛 QQ2541849981
 * @time: 2018/11/11 11:11
 * @remark:
 */
public class AllModuleTopicBean {

    /**
     * code : 200
     * data : [{"category_name":"宠物","topic":[{"id":"1e9028d942bab47aa627a45e60f013f3","name":"狗狗","url_true":"http://pjx26bm3a.bkt.clouddn.com/topic/1e9028d942bab47aa627a45e60f013f3_true-rectangle.190.148.80","url_false":"http://pjx26bm3a.bkt.clouddn.com/topic/1e9028d942bab47aa627a45e60f013f3_false-rectangle.190.148.80"},{"id":"1e9028d9bf2890548175a45e60f013f3","name":"猫咪","url_true":"http://pjx26bm3a.bkt.clouddn.com/topic/1e9028d9bf2890548175a45e60f013f3_true-rectangle.190.148.80","url_false":"http://pjx26bm3a.bkt.clouddn.com/topic/1e9028d9bf2890548175a45e60f013f3_false-rectangle.190.148.80"},{"id":"1e9028d9ec2783349130a45e60f013f3","name":"其他","url_true":"http://pjx26bm3a.bkt.clouddn.com/topic/1e9028d9ec2783349130a45e60f013f3_true-rectangle.190.148.80","url_false":"http://pjx26bm3a.bkt.clouddn.com/topic/1e9028d9ec2783349130a45e60f013f3_false-rectangle.190.148.80"}]}]
     * description : 成功返回所有话题列表
     */

    private int code;
    private String description;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * category_name : 宠物
         * topic : [{"id":"1e9028d942bab47aa627a45e60f013f3","name":"狗狗","url_true":"http://pjx26bm3a.bkt.clouddn.com/topic/1e9028d942bab47aa627a45e60f013f3_true-rectangle.190.148.80","url_false":"http://pjx26bm3a.bkt.clouddn.com/topic/1e9028d942bab47aa627a45e60f013f3_false-rectangle.190.148.80"},{"id":"1e9028d9bf2890548175a45e60f013f3","name":"猫咪","url_true":"http://pjx26bm3a.bkt.clouddn.com/topic/1e9028d9bf2890548175a45e60f013f3_true-rectangle.190.148.80","url_false":"http://pjx26bm3a.bkt.clouddn.com/topic/1e9028d9bf2890548175a45e60f013f3_false-rectangle.190.148.80"},{"id":"1e9028d9ec2783349130a45e60f013f3","name":"其他","url_true":"http://pjx26bm3a.bkt.clouddn.com/topic/1e9028d9ec2783349130a45e60f013f3_true-rectangle.190.148.80","url_false":"http://pjx26bm3a.bkt.clouddn.com/topic/1e9028d9ec2783349130a45e60f013f3_false-rectangle.190.148.80"}]
         */

        private String category_name;
        private List<TopicBean> topic;
        private String category_id;

        public void setCategory_id(String category_id) {
            this.category_id = category_id;
        }

        public String getCategory_id() {
            return category_id;
        }

        public String getCategory_name() {
            return category_name;
        }

        public void setCategory_name(String category_name) {
            this.category_name = category_name;
        }

        public List<TopicBean> getTopic() {
            return topic;
        }

        public void setTopic(List<TopicBean> topic) {
            this.topic = topic;
        }

        public static class TopicBean {
            /**
             * id : 1e9028d942bab47aa627a45e60f013f3
             * name : 狗狗
             * url_true : http://pjx26bm3a.bkt.clouddn.com/topic/1e9028d942bab47aa627a45e60f013f3_true-rectangle.190.148.80
             * url_false : http://pjx26bm3a.bkt.clouddn.com/topic/1e9028d942bab47aa627a45e60f013f3_false-rectangle.190.148.80
             */

            private String id;
            private String name;
            private String url_true;
            private String url_false;
            private String url;
            private boolean select=false;
            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getUrl_true() {
                return url_true;
            }

            public void setUrl_true(String url_true) {
                this.url_true = url_true;
            }

            public String getUrl_false() {
                return url_false;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public void setUrl_false(String url_false) {
                this.url_false = url_false;
            }

            public boolean isSelect() {
                return select;
            }

            public void setSelect(boolean select) {
                this.select = select;
            }
        }
    }
}
